home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / clipper / nfpat4.zip / PAT4.DOC < prev   
Text File  |  1992-12-15  |  2KB  |  48 lines

  1. --------------------------------------------------------------------
  2. Nanforum Toolkit v2.1 Patch #4    12/15/92
  3. --------------------------------------------------------------------
  4.  
  5. Some C source code within FTTEXT.C contains some casts from longs
  6. to ints that caused problems with files over 64K.  In addition,
  7. a return value has been added to ft_fskip(), so the syntax is:
  8.  
  9.     FT_FSKIP( [ <nLines> ] ) -> nLinesSkipped
  10.  
  11.     <nLines> is the number of lines to skip.  Defaults to 1 if
  12.     not specified.
  13.  
  14.     Returns the number of lines actually skipped.
  15.  
  16. As the older version of ft_fskip() had a nil return value, this new
  17. syntax shouldn't break any existing code.  But check!  Thanks to
  18. Glenn Belton for the enhancement.
  19.  
  20. To apply the patch, just replace FTTEXT.C in your NFSRC.ZIP with
  21. the attached FTTEXT.C (if you downloaded the source code).
  22.  
  23. Then, you need a library utlitity (LIB.EXE comes with many versions
  24. of DOS, and with most compilers, and can be downloaded from the MSL
  25. forum on CompuServe as S12776.ARC).  If you know what to do, simply
  26. replace the FTTEXT.OBJ module with the new one that is included in
  27. this patch file.  
  28.  
  29. The procedure, for those not sure:
  30.  
  31. 1.  Make a safe copy of NANFOR.LIB.  Hide it away.
  32.  
  33. 2.  Change to the directory where NANFOR.LIB is located.
  34.  
  35. 3.  Put FTTEXT.OBJ in the same directory as NANFOR.LIB.
  36.  
  37. 4.  Type
  38.         
  39.          LIB NANFOR -+ FTTEXT;
  40.  
  41. That should do it.  
  42.  
  43. Remember to report all strange stuff in Section 5 on Nanforum! If you
  44. have any problems, please contact me so I can help you get them
  45. fixed.
  46.  
  47. Glenn Scott [71620,1521]
  48.